projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62d45da
)
luci-base: sysauth.htm: switch https detection URL
author
Jo-Philipp Wich
<
[email protected]
>
Mon, 11 Oct 2021 18:36:44 +0000
(20:36 +0200)
committer
Jo-Philipp Wich
<
[email protected]
>
Tue, 12 Oct 2021 21:05:22 +0000
(23:05 +0200)
The `up.gif` icon is not present by default anymore, it has been moved to
luci-compat. Probe loading.gif instead which is guaranteed to be available
by default.
Signed-off-by: Jo-Philipp Wich <
[email protected]
>
(cherry picked from commit
ea9b5e87e6ec3fbab52a02ab5f18bb51292bd249
)
modules/luci-base/luasrc/view/sysauth.htm
patch
|
blob
|
history
diff --git
a/modules/luci-base/luasrc/view/sysauth.htm
b/modules/luci-base/luasrc/view/sysauth.htm
index 0bca0af5ec664bc3747b6c08153689a432a30980..acd5ff7e38f9c3c407958a3249c85ffa61115e37 100644
(file)
--- a/
modules/luci-base/luasrc/view/sysauth.htm
+++ b/
modules/luci-base/luasrc/view/sysauth.htm
@@
-63,7
+63,7
@@
if https_port and fs.access(https_key) then
var url = 'https://' + window.location.hostname + ':' + '<%=https_port%>' + window.location.pathname;
var img=new Image;
img.onload=function(){window.location = url};
- img.src='https://' + window.location.hostname + ':' + '<%=https_port%>' + '<%=resource%>/
cbi/up.gif?' + Math.random();
;
+ img.src='https://' + window.location.hostname + ':' + '<%=https_port%>' + '<%=resource%>/
icons/loading.gif?' + Math.random()
;
setTimeout(function(){
img.src=''
}, 5000);